<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>SHOPINFOS</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  <script type="text/javascript">
  //编写自定义JS代码
  </script>
 </head>
 <body>
		<t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="${action}" tiptype="6">
					<input id="id" name="id" type="hidden" value="${shopinfosPage.id }"/>
		<table style="width: 99%;" cellpadding="0" cellspacing="1" class="formtable">
					<tr>
						<td align="right">
							<label class="Validform_label">
								资讯标题:
							</label>
						</td>
						<td class="value" colspan="3">
						    <input id="infotitle" name="infotitle" type="text" maxlength="100" style="width: 80%"  datatype="*"  ignore="checked"  value='${shopinfosPage.infotitle}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">资讯标题</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								企业编号:
							</label>
						</td>
						<td class="value">
							<input id="shopid" name="shopid" type="text" style="width: 150px" class="searchbox-inputtext" readonly="readonly" onclick="popupClick(this,'企业编号','shopid','shops_select1')" datatype="*"/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">企业编号</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								资讯日期:
							</label>
						</td>
						<td class="value">
							<input id="infodate" name="infodate" type="text" style="width: 150px"  class="Wdate" onClick="WdatePicker()"  datatype="*"  ignore="checked" value='<fmt:formatDate value='${shopinfosPage.infodate}' type="date" pattern="yyyy-MM-dd"/>'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">资讯日期</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								录入时间:
							</label>
						</td>
						<td class="value">
									  <input id="createtime" name="createtime" type="text" style="width: 150px"  class="Wdate" readonly="readonly"   datatype="*"  ignore="checked" value='<fmt:formatDate value='${shopinfosPage.createtime}' type="date" pattern="yyyy-MM-dd"/>'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">录入时间</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								资讯状态:
							</label>
						</td>
						<td class="value">
							<t:dictSelect field="infostate" type="list"  datatype="*"  typeGroupCode="SHOPSTATE"   defaultVal="${shopinfosPage.infostate}" hasLabel="false"  title="资讯状态" ></t:dictSelect>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">资讯状态</label>
						</td>
					</tr>
				
					<tr>
						<td align="right">
							<label class="Validform_label">
								资讯内容:
							</label>
						</td>
						<td class="value" colspan="3">
									<script type="text/javascript"  charset="utf-8" src="plug-in/ueditor/ueditor.config.js"></script>
									<script type="text/javascript"  charset="utf-8" src="plug-in/ueditor/ueditor.all.min.js"></script>
                                <textarea name="infocontent" id="infocontent" style="width: 650px;height:300px" datatype="*">${shopinfosPage.infocontent }</textarea>

                                <script type="text/javascript">
							        var infocontent_editor = UE.getEditor('infocontent');
								    </script>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">资讯内容</label>
						</td>
					</tr>
					<table id="tabVerify" style="margin-top:10px;width: 99%;display:none;" cellpadding="0" cellspacing="1" class="formtable">
						<input id="verifyflag" name="verifyflag" type="hidden" value="false"/>
						<tr >
							<td align="right">
								<label class="Validform_label">
									审核意见:
								</label>
							</td>
							<td class="value">
							  	<textarea id="verifynote" name="verifynote" style="height:auto;width:850px;" rows="6" ignore="ignore" ></textarea>
							</td>
						</tr>
					</table>
			</table>
		</t:formvalid>
 </body>
